from django.contrib.auth.models import Group
from rest_framework import serializers


class GroupSerializers(serializers.ModelSerializer):
    class Meta:
        model = Group
        fields = '__all__'


class GroupSimpleSerializers(serializers.Serializer):
    id = serializers.IntegerField()
    name = serializers.CharField()
